package com.example.communist_app_api.vo.uniapp.req;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @author Brother Sheng Editor
 * @version 1.0
 * Create by 2023/3/1 22:28
 */
@Data
@ApiModel("小程序新增留言参数")
public class UniAppCreatMessageReq {

    /**
     * 内容
     */
    @ApiModelProperty("内容")
    @NotBlank
    private String content;

    @NotEmpty
    @ApiModelProperty("图片数组")
    private List<String> photoUrlList;
}
